package org.helgoboss.file_manager_commandlet

import org.helgoboss.osgi_additions._
import org.helgoboss.file_manager.FileManager
import org.helgoboss.commandlet.Commandlet
import org.helgoboss.launchlet.Launchlet


class FileManagerCommandletActivator extends OsgiContext with OsgiServiceWatcher with OsgiProvider {
    whenBundleActive {
        whenServicePresent[FileManager] {
            new FileManagerCommandlet(_).providesService[Commandlet, Launchlet]
        }
    }
}   